// import 'package:f_base_one/components/01.%E6%8A%BD%E7%A6%BB%E7%BB%84%E4%BB%B6.dart';
// import 'package:f_base_one/components/02.%E6%97%A0%E7%8A%B6%E6%80%81%E7%BB%84%E4%BB%B6.dart';
// import 'package:f_base_one/components/03.%E6%9C%89%E7%8A%B6%E6%80%81%E7%BB%84%E4%BB%B6.dart';
// import 'package:f_base_one/components/04.%E7%8A%B6%E6%80%81%E7%BB%84%E4%BB%B6.dart';
// import 'package:f_base_one/components/04.%E6%9C%89%E7%8A%B6%E6%80%81%E7%BB%84%E4%BB%B6%E7%9A%84%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E5%92%8C%E7%88%B6%E5%AD%90%E4%BC%A0%E5%80%BC.dart';
// import 'package:f_base_one/components/05.container%E7%BB%84%E4%BB%B6%E7%9A%84%E4%BD%BF%E7%94%A8.dart';
// import 'package:f_base_one/components/06.text%E7%BB%84%E4%BB%B6%E7%9A%84%E4%BD%BF%E7%94%A8.dart';
// import 'package:f_base_one/components/07.image%E7%BB%84%E4%BB%B6%E7%9A%84%E4%BD%BF%E7%94%A8.dart';
// import 'package:f_base_one/components/08.%E5%B8%83%E5%B1%80%E7%BB%84%E4%BB%B6column%E7%9A%84%E4%BD%BF%E7%94%A8.dart';
// import 'package:f_base_one/components/09.%E5%B8%83%E5%B1%80%E7%BB%84%E4%BB%B6row%E7%9A%84%E4%BD%BF%E7%94%A8.dart';
// import 'package:f_base_one/components/10.%E5%BC%B9%E6%80%A7%E5%B8%83%E5%B1%80Expanded%E7%9A%84%E4%BD%BF%E7%94%A8.dart';
// import 'package:f_base_one/components/17.GridView%E7%9A%84%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8.dart';
// import 'package:f_base_one/components/18.GridView%E7%9A%84%E5%AE%9E%E9%99%85%E8%BF%90%E7%94%A8.dart';
// import 'package:f_base_one/components/19.GridView%E7%9A%84builder%E5%87%BD%E6%95%B0%E4%BD%BF%E7%94%A8.dart';
// import 'package:f_base_one/components/20.GridView%E7%9A%84extend%E5%87%BD%E6%95%B0%E4%BD%BF%E7%94%A8.dart';
import 'package:f_base_one/components/22.dio%E7%BD%91%E7%BB%9C%E8%AF%B7%E6%B1%82%E7%9A%84%E4%BD%BF%E7%94%A8.dart';
import 'package:f_base_one/components/detail_shop.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
      //使用MaterialApp包裹,采用他内部的样式
      MaterialApp(
          title: 'Flutter Demo',
          // home: myApp()
          // home: myApp1(
          //   age: 18,
          // )
          // home: myApp2(),
          // home: MyApp4(
          //   reName: '张大喜',
          // ),
          // home: MyApp5(),
          // home: MyApp6(),
          // home: MyApp7(),
          // home: MyApp8(),
          // home: MyApp9(),
          // home: MyApp10(),
          // home: MyApp11(),
          // home: MyApp13(),
          // home: MyApp14(),
          // home: MyApp15(),
          // home: MyApp16(),
          // home: MyApp17(),
          // home: MyApp18(),
          // home: MyApp19(),
          // home: MyApp20(),
          // home: MyApp21(),
          // home: MyApp22(),
          // home: ShopDemo(),

          //路由跳转的第二种方式
          routes: {
        '/detail': (context) => const DetailShop(),
        '/': (context) => const MyApp22(),
      }));
}
